net/http.http2ClientConn.streams (field)
20 uses
net/http (current package)
h2_bundle.go#L7500: streams map[uint32]*http2clientStream // client-initiated
h2_bundle.go#L7926: streams: make(map[uint32]*http2clientStream),
h2_bundle.go#L8048: for streamID, cs := range cc.streams {
h2_bundle.go#L8139: StreamsActive: len(cc.streams),
h2_bundle.go#L8171: maxConcurrentOkay = int64(len(cc.streams)+cc.streamsReserved+1) <= int64(cc.maxConcurrentStreams)
h2_bundle.go#L8226: if len(cc.streams) > 0 || cc.streamsReserved > 0 {
h2_bundle.go#L8244: return cc.doNotReuse && len(cc.streams) == 0
h2_bundle.go#L8262: if len(cc.streams) == 0 || cc.closed {
h2_bundle.go#L8317: for _, cs := range cc.streams {
h2_bundle.go#L8817: if int64(len(cc.streams)) < int64(cc.maxConcurrentStreams) {
h2_bundle.go#L9347: cc.streams[cs.ID] = cs
h2_bundle.go#L9355: slen := len(cc.streams)
h2_bundle.go#L9356: delete(cc.streams, id)
h2_bundle.go#L9357: if len(cc.streams) != slen-1 {
h2_bundle.go#L9361: if len(cc.streams) == 0 && cc.idleTimer != nil {
h2_bundle.go#L9370: if closeOnIdle && cc.streamsReserved == 0 && len(cc.streams) == 0 {
h2_bundle.go#L9447: for _, cs := range cc.streams {
h2_bundle.go#L10004: cs := rl.cc.streams[id]
h2_bundle.go#L10088: for _, cs := range cc.streams {
h2_bundle.go#L10409: ci.WasIdle = len(cc.streams) == 0 && reused
![]() |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |